<?php
require_once('start_session.php');

/*	while($row = mysqli_fetch_assoc($result)) {
		$cards[] = $row;		
	}

// Dubblar antal bilder genom att slå ihop arrays
$cards = array_merge($cards, $cards);

//shuffle cards
shuffle($cards);
*/
?>

<div id="player1_container">
		<p id="player1">Player 1</p>
		<div id="time1">Time: </div>
		<p>score</p>
		
</div>
<div id="player2_container">
		<p id="player2">Player 2</p>
		<div id="time2">Time: </div>
		<p>score</p>
		
</div>
<button id="m_button">click on me</button>

<div id="game_container">
	<div id="ingame_container">
<?php

//	for ( $i=0; $i<sizeof($cards); $i++ ) {
//		echo "<span class='img_card'>";
//		echo "<img id='back' src='images/memorybehind.jpg'>";
//		echo "<img id='front' src='{$cards[$i]['name']}'>";
//		echo "</span>";
//	};
?>
	</div>
</div>
<p>
<p>
</p>
